﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace SystemMHB.API.Application.Command.SupplierCommand
{
    public class AddSupplierCommand:IRequest<int>
    {
        /// <summary>
        /// 供应商ID
        /// </summary>
        public int supplierID { get; set; }
        /// <summary>
        /// 供应商编号
        /// </summary>
        public string? supplierNumber { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string ?supplierName { get; set; }
        /// <summary>
        /// 供应商类别
        /// </summary>
        public string?supplierType { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? supplierPrincipal { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string? supplierPhone { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDel { get; set; }
        /// <summary>
        /// 添加人
        /// </summary>
        public string? AddName { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }
    }
}
